<template>
  <div id="translateOutput" class="text">
    <h2>{{translatedText}}</h2><!--数据绑定-->
  </div>
</template>

<script>

  export default {
    name: 'translateOutput',
    props:[
      'translatedText'
    ]
  }
</script>

<style>
.text{
  font-size: 40px;
  color:#54b4eb;
  line-height: 100px;
}
</style>